package com.springboot.listener;

import com.springboot.event.LoginExitEvent;
import org.springframework.context.ApplicationListener;

public class LoginExitListener implements ApplicationListener<LoginExitEvent> {
    @Override
    public void onApplicationEvent(LoginExitEvent event) {

        System.out.println(event.getSource()+":退出系统");

    }
}
